import 'package:flutter/material.dart';
import 'package:moose_app/core/utils/navigate_util.dart';
import 'package:moose_app/ui/screens/vip_center/vip_center_screen.dart';
import 'package:moose_app/ui/values/colors.dart';
import 'package:moose_app/ui/values/constants.dart';
import 'package:moose_app/ui/widgets/common/common_right_arrow.dart';

class ATHMimeVipInfoTip extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () {
        ATHNavigator.pushFromRight(context, ATHVipCenterScreen.routeName);
      },
      child: Container(
        padding: EdgeInsets.symmetric(horizontal: kSize24, vertical: kSize20),
        margin: kCommonMarin.copyWith(bottom: 0, top: 0),
        decoration: kCommonBoxDecoration.copyWith(
            gradient: LinearGradient(colors: [kColorPrimary, kColorPrimary])),
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: <Widget>[
            Row(
              children: <Widget>[
                Text(
                  "开通 VIP 会员",
                  style: TextStyle(color: Colors.white, fontSize: kFontSize32),
                )
              ],
            ),
            Row(
              children: <Widget>[
                Text(
                  "畅想全场",
                  style: TextStyle(color: Colors.white, fontSize: kFontSize26),
                ),
                ATHCommonRightArrow(color: Colors.white),
              ],
            )
          ],
        ),
      ),
    );
  }
}
